import request from '@/utils/request'

// 查询订单统计列表
export function listOrderStatistics(query) {
  return request({
    url: '/system/orderStatistics/list',
    method: 'get',
    params: query
  })
}

// 查询订单统计汇总数据
export function getOrderStatisticsSummary(query) {
  return request({
    url: '/system/orderStatistics/summary',
    method: 'get',
    params: query
  })
}

// 导出订单统计列表
export function exportOrderStatistics(query) {
  return request({
    url: '/system/orderStatistics/export',
    method: 'post',
    data: query
  })
}
